//
//  LocationModel.m
//  Runner
//
//  Created by Danny Duan on 2019/12/22.
//  Copyright © 2019 The Chromium Authors. All rights reserved.
//

#import "LocationModel.h"

@implementation LocationModel

+ (LocationModel *)modelFromDict:(NSDictionary *)dic{
    LocationModel *model = [LocationModel new];
    model.lat = [dic objectForKey:@"lat"];
    model.lng = [dic objectForKey:@"lng"];
    model.name = [dic objectForKey:@"name"];
    
    return model;
}
@end
